package com.market.domain;

public class Product {
	private int pid;	//商品id
	private String pname;	//商品名称
	private String productdetails;	//商品简介
	private Double price;	//商品价格
	private String pimage;	//商品图片
	private String ptype;	//商品类型
	private Double originalprice;	//商品原价
	public String getPtype() {
		return ptype;
	}
	public void setPtype(String ptype) {
		this.ptype = ptype;
	}
	public Double getOriginalprice() {
		return originalprice;
	}
	public void setOriginalprice(Double originalprice) {
		this.originalprice = originalprice;
	}
	
	
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public String getProductdetails() {
		return productdetails;
	}
	public void setProductdetails(String productdetails) {
		this.productdetails = productdetails;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getPimage() {
		return pimage;
	}
	public void setPimage(String pimage) {
		this.pimage = pimage;
	}
	@Override
	public String toString() {
		return "Product [pid=" + pid + ", pname=" + pname + ", productdetails=" + productdetails + ", price=" + price
				+ ", pimage=" + pimage + ", ptype=" + ptype + ", originalprice=" + originalprice + "]";
	}
	
	
}
